Learn R Programming

MixAll (version 1.5.10)

[,ClusterAlgo-method: Extract parts of a MixAll S4 class

Description

Extract parts of a MixAll S4 class

Usage

# S4 method for ClusterAlgo
[(x, i, j, drop)

# S4 method for ClusterAlgo [(x, i, j) <- value

# S4 method for ClusterAlgoPredict [(x, i, j, drop)

# S4 method for ClusterAlgoPredict [(x, i, j) <- value

# S4 method for ClusterInit [(x, i, j, drop)

# S4 method for ClusterInit [(x, i, j) <- value

# S4 method for ClusterStrategy [(x, i, j, drop)

# S4 method for ClusterStrategy [(x, i, j) <- value

# S4 method for ClusterCategoricalComponent [(x, i, j, drop)

# S4 method for ClusterDiagGaussianComponent [(x, i, j, drop)

# S4 method for ClusterGammaComponent [(x, i, j, drop)

# S4 method for ClusterPoissonComponent [(x, i, j, drop)

# S4 method for LearnAlgo [(x, i, j, drop)

# S4 method for LearnAlgo [(x, i, j) <- value

# S4 method for KmmComponent [(x, i, j, drop)

Arguments

x

object from which to extract element(s) or in which to replace element(s).

i

the name of the element we want to extract or replace.

j

if the element designing by i is complex, j specifying elements to extract or replace.

drop

For matrices and arrays. If TRUE the result is coerced to the lowest possible dimension (see the examples). This only works for extracting elements, not for the replacement. See drop for further details.

value

typically an array-like R object of a similar class as the element of x we want to replace.